package com.china08.yxyapi.entity.mg.huixue;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 慧学系统--学习计划--涉及到的知识点--错题记录</br>
 * 本计划下,本学生, 本知识点下,错题的统计(本道题错误几次)
 * 
 * @author Richard Wang
 *
 */

@SuppressWarnings("serial")
@Document(collection = "yxy.stu.huixue.plan.know.train.ques.mistake")
public class YxyHuixuePlanKnowTrainQuesMistake extends MongoBaseEntityNoId {

	/**
	 * 错题Id生成规则(计划id+知识点id+题id, 中间使用"_")
	 */
	@Id
	private String id;

	@Field(value = "student_id")
	private String studentId;// 学生id

	@Field(value = "plan_id")
	private String planId;// 计划id

	@Field(value = "know_id")
	private String knowId;// 知识点id

	@Field(value = "know_name")
	private String knowName;// 知识点名称

	@Field(value = "ques_id")
	private String quesId;// 试题id

	@Field(value = "mistake_count")
	private Integer mistakeCount;// 错误次数

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStudentId() {
		return studentId;
	}

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String getPlanId() {
		return planId;
	}

	public void setPlanId(String planId) {
		this.planId = planId;
	}

	public String getKnowId() {
		return knowId;
	}

	public void setKnowId(String knowId) {
		this.knowId = knowId;
	}

	public String getKnowName() {
		return knowName;
	}

	public void setKnowName(String knowName) {
		this.knowName = knowName;
	}

	public String getQuesId() {
		return quesId;
	}

	public void setQuesId(String quesId) {
		this.quesId = quesId;
	}

	public Integer getMistakeCount() {
		return mistakeCount;
	}

	public void setMistakeCount(Integer mistakeCount) {
		this.mistakeCount = mistakeCount;
	}

}
